# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=purple-hangouts
pkgver=0_git20200422
# !!! should be rebuilt with every pidgin rebuild/upgrade !!!
pkgrel=0
pkgdesc="pidgin plugin for proprietary google protocol for the hangouts service"
url="https://github.com/EionRobb/purple-hangouts"
arch="all"
license="GPL-3.0-or-later"
_commit=5db1007d9ae740c59c363a8918d658289069e675
makedepends="pidgin-dev glib-dev json-glib-dev protobuf-c-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/EionRobb/purple-hangouts/archive/$_commit.tar.gz"
builddir="$srcdir/purple-hangouts-$_commit"

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="c3a116954915f5b9937efed8f89505fc1ac2f7e370e9d9fdccbeae81614388ea0cc571a488210d54ba1628adc79e5413e8a743b68102638f01d1f3523d95b71e  purple-hangouts-0_git20200422.tar.gz"
